[INFO] cloning repository https://github.com/gyng/rust-primer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gyng/rust-primer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-primer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-primer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d70706e2613e5b0c9f728e3da633da21013b9fc7
[INFO] checking gyng/rust-primer against master#d4be8efc6296bace5b1e165f1b34d3c6da76aa8e for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-primer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gyng/rust-primer on toolchain d4be8efc6296bace5b1e165f1b34d3c6da76aa8e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/gyng/rust-primer
[INFO] finished tweaking git repo https://github.com/gyng/rust-primer
[INFO] tweaked toml for git repo https://github.com/gyng/rust-primer written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/gyng/rust-primer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c74e6e295f5687be030fb910acf7cdaa51996823e50bdef238e63e551eff04f5
[INFO] running `Command { std: "docker" "start" "-a" "c74e6e295f5687be030fb910acf7cdaa51996823e50bdef238e63e551eff04f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c74e6e295f5687be030fb910acf7cdaa51996823e50bdef238e63e551eff04f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c74e6e295f5687be030fb910acf7cdaa51996823e50bdef238e63e551eff04f5", kill_on_drop: false }`
[INFO] [stdout] c74e6e295f5687be030fb910acf7cdaa51996823e50bdef238e63e551eff04f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e335958942e39f24292d019e902bd2e71fa517f076ed5e944e379d4316793c2e
[INFO] running `Command { std: "docker" "start" "-a" "e335958942e39f24292d019e902bd2e71fa517f076ed5e944e379d4316793c2e", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling syn v1.0.67
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking once_cell v1.16.0
[INFO] [stderr]    Compiling cc v1.0.78
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling parking_lot_core v0.9.5
[INFO] [stderr]     Checking bytes v1.3.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking itoa v1.0.5
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]    Compiling openssl v0.10.45
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling tokio v1.23.0
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking form_urlencoded v1.1.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking textwrap v0.12.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking ipnet v2.7.0
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]    Compiling openssl-sys v0.9.80
[INFO] [stderr]     Checking os_str_bytes v2.4.0
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking demo v0.1.0 (/opt/rustwide/workdir/02-basics/demo)
[INFO] [stderr]     Checking structs-exercise v0.1.0 (/opt/rustwide/workdir/02-basics/exercise)
[INFO] [stderr]     Checking exercise-structs v0.1.0 (/opt/rustwide/workdir/03-structs-lifetimes/exercise)
[INFO] [stderr]     Checking solution v0.1.0 (/opt/rustwide/workdir/01-hello/solution)
[INFO] [stderr]     Checking demo-generics v0.1.0 (/opt/rustwide/workdir/04-generics-traits/demo)
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> 03-structs-lifetimes/exercise/src/shapes/circle.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> 03-structs-lifetimes/exercise/src/shapes/rectangle.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> 03-structs-lifetimes/exercise/src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> 03-structs-lifetimes/exercise/src/main.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | mod tests {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `height` on type `&Rectangle`
[INFO] [stdout]  --> 03-structs-lifetimes/exercise/src/shapes/rectangle.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 |         self.width * self.height
[INFO] [stdout]   |                           ^^^^^^ unknown field
[INFO] [stdout]   |
[INFO] [stdout]   = note: available fields are: `width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Rectangle` has no field named `height`
[INFO] [stdout]  --> 03-structs-lifetimes/exercise/src/main.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         height: 3.0f64,
[INFO] [stdout]   |         ^^^^^^ `Rectangle` does not have this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: method `area` is private
[INFO] [stdout]   --> 03-structs-lifetimes/exercise/src/main.rs:10:56
[INFO] [stdout]    |
[INFO] [stdout] 10 |     println!("Area of a 2 x 3 rectangle is {:?}", rect.area());
[INFO] [stdout]    |                                                        ^^^^ private method
[INFO] [stdout]    |
[INFO] [stdout]   ::: 03-structs-lifetimes/exercise/src/shapes/rectangle.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn area(&self) -> f64 {
[INFO] [stdout]    |     --------------------- private method defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Circle` has no field named `radius`
[INFO] [stdout]   --> 03-structs-lifetimes/exercise/src/main.rs:12:25
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let circ = Circle { radius: 1.0f64 };
[INFO] [stdout]    |                         ^^^^^^ `Circle` does not have this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `area` found for struct `Circle` in the current scope
[INFO] [stdout]   --> 03-structs-lifetimes/exercise/src/main.rs:13:52
[INFO] [stdout]    |
[INFO] [stdout] 13 |     println!("Area of a unit circle is {:?}", circ.area());
[INFO] [stdout]    |                                                    ^^^^ method not found in `Circle`
[INFO] [stdout]    |
[INFO] [stdout]   ::: 03-structs-lifetimes/exercise/src/shapes/circle.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct Circle {}
[INFO] [stdout]    | ----------------- method `area` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0560, E0599, E0609, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0560`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercise-structs` (bin "exercise-structs") due to 6 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> 02-basics/exercise/src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let x: u8 = 1;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xs`
[INFO] [stdout]   --> 02-basics/exercise/src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let xs = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_xs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutability` is never used
[INFO] [stdout]  --> 02-basics/exercise/src/main.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn mutability() -> u8 {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `casting` is never used
[INFO] [stdout]   --> 02-basics/exercise/src/main.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn casting() -> f64 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `collections` is never used
[INFO] [stdout]   --> 02-basics/exercise/src/main.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn collections() -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> 02-basics/exercise/src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let x: u8 = 1;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xs`
[INFO] [stdout]   --> 02-basics/exercise/src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let xs = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_xs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e335958942e39f24292d019e902bd2e71fa517f076ed5e944e379d4316793c2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e335958942e39f24292d019e902bd2e71fa517f076ed5e944e379d4316793c2e", kill_on_drop: false }`
[INFO] [stdout] e335958942e39f24292d019e902bd2e71fa517f076ed5e944e379d4316793c2e
